import { post } from './http'

/**
 * @description: 车辆年检预警列表
 * @param data
 * @return Promise
 */
export const getInspectionList = (data) =>
  post({
    url: '/warning/inspection/list',
    data,
  })

/**
 * @description: 供应商费用即将结算列表
 * @param data
 * @return Promise
 */
export const getSupplierLillList = (data) =>
  post({
    url: '/warning/supplier/billList',
    data,
  })

/**
 * @description: 围栏预警列表
 * @param data
 * @return Promise
 */
export const getCarVehicleElectricFenceList = (data) =>
  post({
    url: '/warning/carVehicle/electricFenceList',
    data,
  })

/**
 * @description: 待办事项统计
 * @param data
 * @return Promise
 */
export const getStatistics = (data) =>
  post({
    url: '/warning/statistics',
    data,
  })

/**
 * @description: 车机异常列表
 * @param data
 * @return Promise
 */
export const getCarVehicleErrorList = (data) =>
  post({
    url: '/warning/carVehicle/errorList',
    data,
  })

/**
 * @description: 车辆保养预警列表
 * @param data
 * @return Promise
 */
export const getMaintenanceList = (data) =>
  post({
    url: '/warning/maintenance/list',
    data,
  })

/**
 * @description: 车辆保险预警列表
 * @param data
 * @return Promise
 */
export const getInsureList = (data) =>
  post({
    url: '/warning/insure/list',
    data,
  })

/**
 * @description: 车辆多天未动列表
 * @param data
 * @return Promise
 */
export const getCarVehicleUnmoveList = (data) =>
  post({
    url: '/warning/carVehicle/unmoveList',
    data,
  })

/**
 * @description: 车辆多天未动处理
 * @param data
 * @return Promise
 */
export const getCarVehicleUnmoveHandler = (data) =>
  post({
    url: '/warning/carVehicle/unmoveHandler',
    data,
  })

/**
 * @description: 同行费用即将结算列表
 * @param data
 * @return Promise
 */
export const getIndustryBillList = (data) =>
  post({
    url: '/warning/industry/billList',
    data,
  })

/**
 * @description: 车辆异动列表
 * @param data
 * @return Promise
 */
export const getCarVehicleAbnormalMovementList = (data) =>
  post({
    url: '/warning/carVehicle/abnormalMovementList',
    data,
  })

/**
 * @description: 车辆异动处理
 * @param data
 * @return Promise
 */
export const getCarVehicleAbnormalMovementHandle = (data) =>
  post({
    url: '/warning/carVehicle/abnormalMovementHandle',
    data,
  })

/**
 * @description: 车辆待巡检列表
 * @param data
 * @return Promise
 */
export const getCarViewList = (data) =>
  post({
    url: '/warning/car/viewList',
    data,
  })

/**
 * @description: 车辆待巡检处理
 * @param data
 * @return Promise
 */
export const getCarViewHandler = (data) =>
  post({
    url: '/warning/car/viewHandler',
    data,
  })

/**
 * @description: 车辆油电量异常列表
 * @param data
 * @return Promise
 */
export const getCarOilErrorList = (data) =>
  post({
    url: '/warning/car/oilErrorList',
    data,
  })

/**
 * @description: 车辆油电量异常处理
 * @param data
 * @return Promise
 */
export const getCarOilErrorHandler = (data) =>
  post({
    url: '/warning/car/oilErrorHandler',
    data,
  })

/**
 * @description: 车辆里程异常列表
 * @param data
 * @return Promise
 */
export const getCarMileageErrorList = (data) =>
  post({
    url: '/warning/car/mileageErrorList',
    data,
  })

/**
 * @description: 车辆里程异常处理
 * @param data
 * @return Promise
 */
export const getCarMileageErrorHandler = (data) =>
  post({
    url: '/warning/car/mileageErrorHandler',
    data,
  })

// 即将保养导出
export const getMaintenanceExport = (data) =>
  post({
    url: '/warning/maintenance/exportExcel',
    data,
  })

// 即将年检导出
export const getInspectionExport = (data) =>
  post({
    url: '/warning/inspection/exportExcel',
    data,
  })

// 交强险/商业险即将到期导出
export const getInsureExport = (data) =>
  post({
    url: '/warning/insure/exportExcel',
    data,
  })

// 车机异常
export const exportErrorListExcel = (data) =>
  post({
    url: '/warning/carVehicle/exportErrorListExcel',
    data,
  })
export const exportErrorListLogExcel = (data) =>
  post({
    url: '/warning/carVehicle/exportErrorListLogExcel',
    data,
  })
// 车辆异动
export const exportAbnormalMovementListExcel = (data) =>
  post({
    url: '/warning/carVehicle/exportAbnormalMovementListExcel',
    data,
  })
export const exportAbnormalMovementListLogExcel = (data) =>
  post({
    url: '/warning/carVehicle/exportAbnormalMovementListLogExcel',
    data,
  })
// 车辆多天未动
export const exportUnmoveListExcel = (data) =>
  post({
    url: '/warning/carVehicle/exportUnmoveListExcel',
    data,
  })
export const excelUnmoveListLogExcel = (data) =>
  post({
    url: '/warning/carVehicle/excelUnmoveListLogExcel',
    data,
  })

// 违章待查询
export const getOrderViolationQueryList = (data) =>
  post({
    url: '/warning/violation/list',
    data,
  })

// 违章待查询-批量关闭提醒
export const batchCloseViolation = (data) =>
  post({
    url: '/warning/violation/batchClose',
    data,
  })

// 违章待查询-批量违章查询校验
export const batchQueryViolationCheck = (data) =>
  post({
    url: '/warning/violation/batchQueryCheck',
    data,
  })
// 违章待查询-批量违章查询
export const batchQueryViolation = (data) =>
  post({
    url: '/warning/violation/batchQuery',
    data,
  })

// 唯一租车押金即将到期查询列表
export const memberWarnList = (data) =>
  post({
    url: '/warning/deposit/memberWarnList',
    data,
  })
